let arr = [1, 2]
let obj = { a: 1 }

console.log(Number(arr));
console.log((Number(obj)));

